﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xrm.Sdk;

namespace JavascriptWebResourcesManager
{
    class Script
    {
        public string FilePath { get; set; }
        public Entity ScriptEntity { get; set; }

        public Script(Entity script, string filePath)
        {
            this.FilePath = filePath;
            this.ScriptEntity = script;
        }

        public Script(Entity script)
            : this(script, string.Empty)
        {}
    }
}
